package com.rerun.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.rerun.entity.DictionariesCategory;

/**
 * The interface Dictionaries category service.
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /9/30 9:25
 */
public interface IDictionariesCategoryService extends IService <DictionariesCategory>{


    /**
     * Find all list.
     *
     * @param page the page
     * @return the list
     */
    Page<DictionariesCategory> findAllPage(Page<DictionariesCategory> page);

    /**
     * Find by id dictionaries category.
     *
     * @param categoryId the category id
     * @return the dictionaries category
     */
    DictionariesCategory findById(long categoryId);
}
